package com.supcon.exchangedata.pojo.entity.mysql.operation.lq;

import lombok.Data;

import javax.persistence.*;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * Created with IntelliJ IDEA.
 * @Author: yangbin
 * @Date: 2022/12/29/9:44
 * @Description: 
 */
/**
    * 路桥养护车辆轨迹信息
    */
@Entity
@Data
@Table(name = "lq_maintain_car_locus", schema = "hzcjtz_roadbridge_coll", catalog = "")
public class LqMaintainCarLocus {
    @Column(name = "id")
    private Long id;

    /**
    * 车牌号
    */
    @Column(name = "car_number")
    private String carNumber;

    /**
    * 车辆类型
    */
    @Column(name = "car_type")
    private String carType;

    /**
    * 经度
    */
    @Column(name = "longitude")
    private BigDecimal longitude;

    /**
    * 纬度
    */
    @Column(name = "latitude")
    private BigDecimal latitude;

    /**
    * 自增序列
    */
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Id
    @Column(name = "tongid")
    private Long tongid;

    /**
    * 数据插入时间
    */
    @Column(name = "tong_time")
    private LocalDateTime tongTime;

    /**
    * 增量数据操作字段
    */
    @Column(name = "op")
    private String op;

    /**
    * 业务数据产生时间
    */
    @Column(name = "biz_time")
    private LocalDateTime bizTime;

}